package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.ClientsLinkmanBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ClientsLinkmanService extends BaseService<ClientsLinkmanBean> {

	ClientsLinkmanBean getClientsLinkmanBeanById(String id) throws Exception;
	
	void removeClientsLinkmanBeanById(String id) throws Exception;
	
	void removeClientsLinkmanBeanByIds(String ids) throws Exception;
	
	ClientsLinkmanBean saveClientsLinkmanBean(ClientsLinkmanBean crm) throws Exception;
	
	ClientsLinkmanBean updateClientsLinkmanBean(ClientsLinkmanBean crm) throws Exception;
	
	Page<ClientsLinkmanBean>  findClientsLinkmanBeanByCond(ClientsLinkmanBean bean,
			Page<ClientsLinkmanBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveClientsLinkmanBeanExt(String sql) throws Exception;

	String findClientsLinkmanBeanExtCreate(String tableName) throws Exception;

	String findClientsLinkmanBeanExtEdit(String tableName, String id)
			throws Exception;

	String findClientsLinkmanBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasClientsLinkmanBeanExtData(String tableName, String id)
			throws Exception;
}